package com.sig.bean;

import org.nutz.dao.entity.annotation.*;

/**
 * @author sig
 * @since 2016-6-22 20:51:48
 */
@Table("permission")
public class Permission extends BasePojo {
    @Id
    private long id;

    @Name
    private String username;

    @Column
    private String alias;

    @Column
    @ColDefine(type = ColType.VARCHAR, width = 500)
    private String description;

    public Permission() {
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
